<pre class="docs-method-signature"><code>util.format.number(specifier, value)</code></pre>

<p>Format number <code>value</code> according to the <code>specifier</code> defined via the <a href="http://docs.python.org/release/3.1.3/library/string.html#format-specification-mini-language">Python Format Specification Mini-language</a>.</p>

<pre><code>joint.util.format.number('.2f', 5)    // 5.00
joint.util.format.number('03d', 5)    // 005
joint.util.format.number('.1%', .205)    // 20.5%
joint.util.format.number('*^9', 5)    // ****5****</code></pre>
